package com.jy.rhin.infra.cda.service;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.jy.rhin.infra.cda.dao.TangNiaoBSFDao;
import com.jy.rhin.infra.cda.tnb.TangNiaoBSFJCVo;
import com.jy.rhin.infra.cda.tnb.TangNiaoBSFVo;
import com.jy.rhin.infra.cda.tnb.TangNiaoBSFYYVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Slf4j
@Service
@DS("health")
public class TangNiaoBSFService {

    @Resource
    private TangNiaoBSFDao tangNiaoBSFDao;

    public TangNiaoBSFVo get(String tangNiaoBSFID, String yeWuJGDM) {
        return tangNiaoBSFDao.get(tangNiaoBSFID, yeWuJGDM);
    }

    public List<TangNiaoBSFYYVo> getYongYao(String tangNiaoBSFID, String yeWuJGDM) {
        return tangNiaoBSFDao.getYongYao(tangNiaoBSFID, yeWuJGDM);
    }

    public List<TangNiaoBSFJCVo> getJianCha(String tangNiaoBSFID, String yeWuJGDM) {
        return tangNiaoBSFDao.getJianCha(tangNiaoBSFID, yeWuJGDM);
    }

}
